package com.xjzd.spring.validated;

import jakarta.validation.Constraint;
import jakarta.validation.Valid;

import java.lang.annotation.*;

@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Constraint(
        validatedBy = {NotEmptyValidator.class}
)
@Valid
public @interface ValidNotEmpty {
}
